package com.andatsoft.laisim.audioeffect;

import java.io.Serializable;

public class AudioEffect implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int mId = -1;
	// Name
	private String mName;

	// Eq
	private int mEq60;
	private int mEq230;
	private int mEq910;
	private int mEq3k6;
	private int mEq14k;

	// Bass boost
	private int mBassboost;
	// Volume
	private int mVolume;
	// Balance
	private int mBalance;

	// Var
	private boolean mIsEqEnable;
	private boolean mIsBassboostEnable;

	public enum ApplyMode {
		ALL_SONG, CURRENT_GROUP, CURRENT_SONG
	}

	private ApplyMode mApplyMode = ApplyMode.CURRENT_SONG;

	public AudioEffect() {
	}

	public AudioEffect(int mId, String mName, int mEq60, int mEq230,
			int mEq910, int mEq3k6, int mEq14k, int mBassboost, int mVolume,
			int mBalance, ApplyMode am) {
		super();
		this.mId = mId;
		this.mName = mName;
		this.mEq60 = mEq60;
		this.mEq230 = mEq230;
		this.mEq910 = mEq910;
		this.mEq3k6 = mEq3k6;
		this.mEq14k = mEq14k;
		this.mBassboost = mBassboost;
		this.mVolume = mVolume;
		this.mBalance = mBalance;
		this.mApplyMode = am;
	}

	public int getId() {
		return mId;
	}

	public void setId(int mId) {
		this.mId = mId;
	}

	public String getName() {
		return mName;
	}

	public void setName(String mName) {
		this.mName = mName;
	}

	public ApplyMode getApplyMode() {
		return mApplyMode;
	}

	public void setApplyMode(ApplyMode applyMode) {
		this.mApplyMode = applyMode;
	}

	public int getEq60() {
		return mEq60;
	}

	public void setEq60(int mEq60) {
		this.mEq60 = mEq60;
	}

	public int getEq230() {
		return mEq230;
	}

	public void setEq230(int mEq230) {
		this.mEq230 = mEq230;
	}

	public int getEq910() {
		return mEq910;
	}

	public void setEq910(int mEq910) {
		this.mEq910 = mEq910;
	}

	public int getEq3k6() {
		return mEq3k6;
	}

	public void setEq3k6(int mEq3k6) {
		this.mEq3k6 = mEq3k6;
	}

	public int getEq14k() {
		return mEq14k;
	}

	public void setEq14k(int mEq14k) {
		this.mEq14k = mEq14k;
	}

	public int getBassboostStrength() {
		return mBassboost;
	}

	public void setBassboostStrength(int mBassboost) {
		this.mBassboost = mBassboost;
	}

	public int getVolume() {
		return mVolume;
	}

	public void setVolume(int mVolume) {
		this.mVolume = mVolume;
	}

	public int getBalance() {
		return mBalance;
	}

	public void setBalance(int mBalance) {
		this.mBalance = mBalance;
	}

	public boolean isEqEnable() {
		return mIsEqEnable;
	}

	public void setEqEnable(boolean mIsEqEnable) {
		this.mIsEqEnable = mIsEqEnable;
	}

	public boolean isBassboostEnable() {
		return mIsBassboostEnable;
	}

	public void setBassboostEnable(boolean mIsBassboostEnable) {
		this.mIsBassboostEnable = mIsBassboostEnable;
	}

}
